CC=mpicc

all:
	mpicc -c userinput.c
	mpicc -c tokenize.c
	mpicc -o knapsack proj_parallel.c tokenize.o userinput.o

.PHONY: all clean test runs runp

runs:
	mpirun -n 1 ./knapsack

runp:
	mpirun -n 6 ./knapsack
	
clean:
	rm *.o test_tokenization knapsack
